<?php

/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception yii\web\HttpException */

use yii\helpers\Html;
use yii\helpers\Url;
$this->title = $name;
?>
<style>
    .middle-box {
        max-width:400px;
        z-index:100;
        margin:0 auto;
        padding-top:40px;
    }
    .middle-box h1{
        font-size:170px;
    }
    .font-bold{
        font-weight:600;
    }
    .m-t{
        margin-top:15px;
    }
    .middle-box{
        color:#676a6c;
    }
</style>
<div class="middle-box text-center animated fadeInDown">
    <h1><?=$exception->statusCode?></h1>
    <h3 class="font-bold"><?=nl2br(Html::encode($message)) ?></h3>

    <div class="error-desc">
        抱歉，页面好像去火星了~
        <form class="form-inline m-t" role="form" action="<?=Url::to(['site/index'])?>">
            <div class="form-group">
                <input type="email" class="form-control" placeholder="请输入您需要查找的内容 …">
            </div>
            <button type="submit" class="btn btn-primary">搜索</button>
        </form>
    </div>
</div>
